Add more checks for the font features demo
authorEmmanuele Bassi <ebassi@gnome.org>
Tue, 26 Jan 2016 13:29:46 +0000 (13:29 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 26 Jan 2016 13:29:46 +0000 (13:29 +0000)
The demo also uses PangoFt2 API.

configure.ac

index 3ff4615596d65c98f9839711f7c06e351a4e5fe1..158f13bac1cc6415271216eae7646b61b423bf12 100644 (file)
@@ -1691,13 +1691,13 @@ fi
 AM_CONDITIONAL(HAVE_COLORD, test "x$have_colord" = "xyes")
 
 ##################################################
-# Check for harfbuzz
+# Check for harfbuzz and pangoft2
 ##################################################
 
-PKG_CHECK_MODULES(HARFBUZZ, harfbuzz >= 0.9, have_harfbuzz=yes, have_harfbuzz=no)
-AC_SUBST(HARFBUZZ_CFLAGS)
-AC_SUBST(HARFBUZZ_LIBS)
-AM_CONDITIONAL(BUILD_FONT_DEMO, [ test "x$have_harfbuzz" = xyes ])
+PKG_CHECK_MODULES(FONTDEMO, harfbuzz >= 0.9 pangoft2, build_font_demo=yes, build_font_demo=no)
+AC_SUBST(FONTDEMO_CFLAGS)
+AC_SUBST(FONTDEMO_LIBS)
+AM_CONDITIONAL(BUILD_FONT_DEMO, [ test "x$build_font_demo" = xyes ])
 
 ##################################################
 # Checks for gtk-doc and docbook-tools